Running the CreateSecurityTokenCacheDb.sql script

This task explains where to run the CreateSecurityTokenCacheDBDGS.sql file prior to using Document Generation Services. Note the following:

  • You are only required to run this script once either before or after deploying Document Generation Services.
  • Run this script for new environment installations and in environments using the latest Document Generation Services release.
Run DBInstall.ps1 script. As input parameters, add the server name(s) where DGS database is installed (for example: .\DBInstall.ps1<server name>.
Note: The user running this script will need to have access to the AppSecurityTokenCache database.